package com.csproj.siiat.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * Properties specific to Siiat.
 * <p>
 * Properties are configured in the application.yml file.
 * See {@link io.github.jhipster.config.JHipsterProperties} for a good example.
 */
@ConfigurationProperties(prefix = "application", ignoreUnknownFields = false)
public class ApplicationProperties {
    private int tcpReceiverPort;

    private String centerRole;
    
    private Boolean tcpReceiverTestServiceEnable;

    private int tcpClientNumber;

    public int getTcpClientNumber() {
        return this.tcpClientNumber;
    }

    public void setTcpClientNumber(int num) {
        this.tcpClientNumber = num;
    }
    
    public Boolean getTcpReceiverTestServiceEnable() {
        return this.tcpReceiverTestServiceEnable;
    }

    public void setTcpReceiverTestServiceEnable(Boolean is) {
        this.tcpReceiverTestServiceEnable = is;
    }
    public String getCenterRole() {
        return centerRole;
    }

    public void setCenterRole(String centerRole) {
        this.centerRole = centerRole;
    }

    public int getTcpReceiverPort() {
        return this.tcpReceiverPort;
    }

    public void setTcpReceiverPort(int port) {
        this.tcpReceiverPort = port;
    }

}
